﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TaiLieu;
using DevExpress.Xpo;

public partial class Default : System.Web.UI.Page
{
    public string stringSeo = "<meta name=\"keywords\" content=\"";
    protected void Page_Load(object sender, EventArgs e)
    {
        KetNoiCSDL.KetNoiCSDLFunc();
        foreach (CodeSeo codeseo in CodeSeoDB.GetAll(false, QueryHelper.Get_Domain_1(Request)))
        {
            stringSeo += codeseo.Code;
        }
        stringSeo += "\">";
        LoadControlCenter("localhost/localhost.ascx");
    }
    protected void LoadControlCenter(string path)
    {
        this.pnContext.Controls.Clear();
        this.pnContext.Controls.Add(LoadControl(path));
    }

}